

  <?php echo $this->fetch('library/page_header.lbi'); ?>
<div class="am-g am-g-fixed smallnav">
            <div class="am-u-sm-3">
              <a href="sort.html"><img src="themes/sc/images/navsmall.jpg" />
                <div class="title">商品分类</div>
              </a>
            </div>
            <div class="am-u-sm-3">
              <a href="#"><img src="themes/sc/images/huismall.jpg" />
                <div class="title">大聚惠</div>
              </a>
            </div>
            <div class="am-u-sm-3">
              <a href="#"><img src="themes/sc/images/mansmall.jpg" />
                <div class="title">个人中心</div>
              </a>
            </div>
            <div class="am-u-sm-3">
              <a href="#"><img src="themes/sc/images/moneysmall.jpg" />
                <div class="title">投资理财</div>
              </a>
            </div>
          </div>

          

          <div class="marqueen">
            <span class="marqueen-title">商城头条</span>
            <div class="demo">

              <ul>
                <li class="title-first"><a target="_blank" href="#">
                  <img src="themes/sc/images/TJ2.jpg"></img>
                  <span>[特惠]</span>商城爆品1分秒                
                </a></li>
                <li class="title-first"><a target="_blank" href="#">
                  <span>[公告]</span>商城与广州市签署战略合作协议
                     <img src="themes/sc/images/TJ.jpg"></img>
                     <p>XXXXXXXXXXXXXXXXXX</p>
                  </a></li>
                  
            <div class="mod-vip">
              <div class="m-baseinfo">
                <a href="person/index.html">
                  <img src="themes/sc/images/getAvatar.do.jpg">
                </a>
                <em>
                  Hi,<span class="s-name">小叮当</span>
                  <a href="#"><p>点击更多优惠活动</p></a>                 
                </em>
              </div>
              <div class="member-logout">
                <a class="am-btn-warning btn" href="login.html">登录</a>
                <a class="am-btn-warning btn" href="register.html">注册</a>
              </div>
              <div class="member-login">
                <a href="#"><strong>0</strong>待收货</a>
                <a href="#"><strong>0</strong>待发货</a>
                <a href="#"><strong>0</strong>待付款</a>
                <a href="#"><strong>0</strong>待评价</a>
              </div>
              <div class="clear"></div> 
            </div>                                      
                  
                <li><a target="_blank" href="#"><span>[特惠]</span>洋河年末大促，低至两件五折</a></li>
                <li><a target="_blank" href="#"><span>[公告]</span>华北、华中部分地区配送延迟</a></li>
                <li><a target="_blank" href="#"><span>[特惠]</span>家电狂欢千亿礼券 买1送1！</a></li>
                
              </ul>
                        <div class="advTip"><img src="themes/sc/images/advTip.jpg"/></div>
            </div>
          </div>
          <div class="clear"></div>
        </div>
        <script type="text/javascript">
          if ($(window).width() < 640) {
            function autoScroll(obj) {
              $(obj).find("ul").animate({
                marginTop: "-39px"
              }, 500, function() {
                $(this).css({
                  marginTop: "0px"
                }).find("li:first").appendTo(this);
              })
            }
            $(function() {
              setInterval('autoScroll(".demo")', 3000);
            })
          }
        </script>
      </div>
      <div class="shopMainbg">
        <div class="shopMain" id="shopmain">

          

         
          
          
          <div class="am-container ">
            <div class="shopTitle ">
              <h4>甜品</h4>
              <h3>每一道甜品都有一个故事</h3>
              <div class="today-brands ">
                <a href="# ">桂花糕</a>
                <a href="# ">奶皮酥</a>
                <a href="# ">栗子糕 </a>
                <a href="# ">马卡龙</a>
                <a href="# ">铜锣烧</a>
                <a href="# ">豌豆黄</a>
              </div>
              <span class="more ">
                    <a class="more-link " href="# ">更多美味</a>
                        </span>
            </div>
          </div>
          
          <div class="am-g am-g-fixed floodOne ">
            


            <div class="am-u-lg-4">
              <ul>
                   <?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods');$this->_foreach['goods_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods_list']['total'] > 0):
    foreach ($_from AS $this->_var['goods']):
        $this->_foreach['goods_list']['iteration']++;
?>
            <li>
              <a href="<?php echo $this->_var['goods']['url']; ?>"><img src="<?php echo $this->_var['goods']['goods_thumb']; ?>" width="170" height="160" alt="" /></a>
              <dl>
                <dt><a href="<?php echo $this->_var['goods']['url']; ?>"><?php echo $this->_var['goods']['goods_name']; ?></a></dt>
                <dd>特价：<strong class="red"><?php echo $this->_var['goods']['shop_price']; ?></strong></dd>
                <dd><span class="startotal"></span></dd>
                <dd><a class="addcat" href="#">加入购物车</a></dd>
              </dl>
            </li>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>  

              </ul>
           
           
          </div>


          <div class="pagecon">
          <div class="f-r pagination">

            <?php if ($this->_var['pager']['page_prev']): ?>
            <a class="prev" href="<?php echo $this->_var['pager']['page_prev']; ?>">&lt; 上一页</a>
            <?php endif; ?>

            <?php $_from = $this->_var['pager']['page_number']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'item');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['item']):
?>

            <?php if ($this->_var['pager']['page'] == $this->_var['key']): ?>
            <span class="current"><?php echo $this->_var['key']; ?></span>
            <?php else: ?>
            <a href="<?php echo $this->_var['item']; ?>"><?php echo $this->_var['key']; ?></a>
            <?php endif; ?>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>

            <?php if ($this->_var['pager']['page_next']): ?>
            <a href="<?php echo $this->_var['pager']['page_next']; ?>">下一页 &gt; </a>
            <?php endif; ?>
             <form action="" methom="get">
            <div class="yepage">到第
            <input type="hidden" name="id" value="<?php echo $this->_var['category']; ?>" />
            <input class="stext" type="text" name="page"/>
            页
            <input class="btnimg" type="submit" name=""/>
            </div>
            </form>
          </div>
        </div>
                 <div class="clear "></div>
          
         
         

        


                 
        

  <?php echo $this->fetch('library/page_footer.lbi'); ?>
  